
//  Copyright (C) 2007 Richard Uhler

//?d:Number.MIN_VALUE better be the smallest it can
//?e:okay

// if we can get a smaller positive value than Number.MIN_VALUE,
// then Number.MIN_VALUE is bad
last = 1;
curr = last/2;
while (curr > 0)
{
    last = curr;
    curr = last/2;
}

// Now we should have a pretty small number
if (last < Number.MIN_VALUE)
{
    print(last + " is smaller!\n");
}
else
{
    print("okay");
}


